@layout("/common/_form.html",{js:["/assets/banner/banner_details.js"],css:["/assets/common/module/formSelects/formSelects-v4.css"]}){
<style>
.layui-card-header {
    position: relative;
    height: 42px;
    line-height: 42px;
    padding: 0 65px;
    border-bottom: 1px solid #f6f6f6;
    color: #333; 
    border-radius: 2px 2px 0 0;
}

</style>
<form class="layui-form" id="userForm" lay-filter="userForm">
	<input type="hidden" id="bannerId" name="bannerId" value="${banner.bannerId}">
    <div class="layui-fluid" style="padding-bottom: 75px;">
        <div class="layui-card">
           <div class="layui-card-body">
                    <div class="layui-inline layui-col-md12">
                        <label class="layui-form-label"></label>
                        <div class="layui-input-block">
                        </div>
                        <label class="layui-form-label">选择栏目：</label>
                        <div class="layui-input-block">
					      <select name="status" lay-filter="status" id="status" disabled>
					      	@if(banner.bannerType==1){
                            <option value="1" selected="selected">自制栏目</option>
                            <option value="2">链接栏目</option>
                            @}
                            @if(banner.bannerType==2){
                            <option value="1">自制栏目</option>
                            <option value="2" selected="selected">链接栏目</option>
                            @}
					      </select>
                        </div>
                         <div class="layui-input-block">
                        </div>
                    </div>
                     <div class="layui-inline layui-col-md12">
                       <div class="layui-upload" style="padding-left: 65px;">
						  <button type="button" class="layui-btn" id="test1" disabled>选择图片</button>
						  <div class="layui-upload-list">
						    <img style="width: 120px;height: 120px;" src="${banner.bannerPic}" class="layui-upload-img" id="demo1">
						  </div>
						</div> 
						  <div class="layui-input-block">
                        </div>
                    </div>
                 @if(banner.bannerType==1){
                 <div id="diva">
                <div style="position: relative;height: 42px;line-height: 42px;padding: 0 65px;border-bottom: 1px solid #f6f6f6;color: #333;border-radius: 2px 2px 0 0;">编辑内容：</div>
                <div class="layui-form-item layui-row">
                   <div class="layui-inline layui-col-md12">
                        <div class="layui-input-block" style="margin-left: 165px;min-height: 36px;">
                             <textarea class="layui-textarea layui-hide " id="suggCont" name="suggCont" lay-verify="suggCont" disabled>${banner.contents}</textarea>
                        </div>
                    </div>
                </div>
                </div>
                @}
                @if(banner.bannerType==2){
                 <div id="divb">
                <div class="layui-form-item layui-row">
                   <div class="layui-inline layui-col-md12">
                       <label class="layui-form-label">链接：</label>
                        <div class="layui-input-block">
					     <input name="bannerLink" id="bannerLink" type="text" class="layui-input" value="${banner.bannerLink}" disabled/>
                        </div>
                    </div>
                </div>
                </div>
                @}
            </div>
        </div>
    </div>
	<div class="form-group-bottom text-center">
		<button type="reset" class="layui-btn layui-btn-primary"
			ew-event="closeDialog">&emsp;返回&emsp;</button>
	</div>
</form>

@}
